import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'

Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        name: 'home',
        component: HomeView
    },
    {
        path: '/TextRowCarousel',
        component: () => import('../views/TextRowCarouselView.vue')
    },
    {
        path: '/TextAlternateScroll',
        component: () => import('../views/TextAlternateScrollView.vue')
    },
    {
        path: '/TableCarousel',
        component: () => import('../views/TableCarouselView.vue')
    },
    {
        path: '/Quarter',
        component: () => import('../views/QuarterView.vue')
    },
    {
        path: '/Qrcode',
        component: () => import('../views/QrcodeView.vue')
    },
    {
        path: '/DigitalFlop',
        component: () => import('../views/DigitalFlopView.vue')
    },
    {
        path: '/DragBtn',
        component: () => import('../views/DragBtnView.vue')
    }
]

const router = new VueRouter({
    routes
})

export default router
